package org.cbg.panel;

import java.awt.CardLayout;
import java.awt.Dimension;

import javax.swing.JPanel;

/**
 * 我要买首页面板
 * 
 * @author Administrator
 * 
 */
public class TraslationWantBuyShouyeCardJpanel extends JPanel {

    private CardLayout cardLayout;

    private TraslationWantBuyShouyeJpanel traslationWantBuyShouyeJpanel;

    private TraslationWantBuyShouyeSousuojieguoJpanel traslationWantBuyShouyeSousuojieguoJpanel;

    public TraslationWantBuyShouyeCardJpanel() {
        this.setPreferredSize(new Dimension(760, 460));
        this.setOpaque(false);
        cardLayout = new CardLayout();
        this.setLayout(cardLayout);
        traslationWantBuyShouyeJpanel = new TraslationWantBuyShouyeJpanel();
        traslationWantBuyShouyeSousuojieguoJpanel = new TraslationWantBuyShouyeSousuojieguoJpanel();
        this.add(traslationWantBuyShouyeJpanel, "sousuo");
        this.add(traslationWantBuyShouyeSousuojieguoJpanel, "sousuojieguo");

    }

    public CardLayout getCardLayout() {
        return cardLayout;
    }

    public void setCardLayout(CardLayout cardLayout) {
        this.cardLayout = cardLayout;
    }

    public TraslationWantBuyShouyeJpanel getTraslationWantBuyShouyeJpanel() {
        return traslationWantBuyShouyeJpanel;
    }

    public void setTraslationWantBuyShouyeJpanel(TraslationWantBuyShouyeJpanel traslationWantBuyShouyeJpanel) {
        this.traslationWantBuyShouyeJpanel = traslationWantBuyShouyeJpanel;
    }

    public TraslationWantBuyShouyeSousuojieguoJpanel getTraslationWantBuyShouyeSousuojieguoJpanel() {
        return traslationWantBuyShouyeSousuojieguoJpanel;
    }

    public void setTraslationWantBuyShouyeSousuojieguoJpanel(
            TraslationWantBuyShouyeSousuojieguoJpanel traslationWantBuyShouyeSousuojieguoJpanel) {
        this.traslationWantBuyShouyeSousuojieguoJpanel = traslationWantBuyShouyeSousuojieguoJpanel;
    }

}
